/***********************************************************************
 * $Id : CAmiMain.cpp    2011/11/10 00:00:00
 *
 *       swhors@naver.com
 * hist : 2011/11/10 19:41 first work.
 ***********************************************************************/

#pragma once

class CAmiManager
{
public:
    static CSkyConf     *getConf();
    static int          initialize();
    static void         finalize();
    static EPROCSTATE   IsRunProcess();
    static void         SetRunProcess( EPROCSTATE aVal );
    static EDBCONSTATE  IsDbConnected();
    static void         SetDbConnected( EDBCONSTATE aVal );
    static EAMICONSTATE IsAmiConnected();
    static void         SetAmiConnected( EAMICONSTATE aVal );

public:
    CAmiManager();
    ~CAmiManager();
    static CSkyConf      mSkyConf;

private:
    static char          mRecordPathName[MAX_PATH_LENGTH];
    static EPROCSTATE    mRunProcess;
    static EDBCONSTATE   mDbConnected;
    static EAMICONSTATE  mAmiConnected;
    static CAmiConnector mAmiConnector;
    static CAcdListener  mAcdListener;
};

